$OpenBSD: patch-Xwnmo_xwnmo_multi_lang_c,v 1.1 2017/04/29 14:31:40 espie Exp $
--- Xwnmo/xwnmo/multi_lang.c.orig
+++ Xwnmo/xwnmo/multi_lang.c
@@ -367,7 +367,7 @@ char *c_data;
 short *detail;
 {
     register XIMClientRec *xc;
-    register i, num, num_xl = 0, using_l_len = 0;
+    register int i, num, num_xl = 0, using_l_len = 0;
     register WnnClientRec *save_c_c;
     register XIMClientRec *save_cur_p, *save_cur_x;
     register XIMNestLangList p, xp;
@@ -679,7 +679,7 @@ XIMNestLangRec **p_lang;
     int i;
     static char *buf[MAX_LANGS];
     static WnnClientRec *c_c_sv = 0;
-    static lang_step = 0;
+    static int lang_step = 0;
     XIMNestLangRec *p;
 
 /*
@@ -772,7 +772,7 @@ XIMNestLangRec **p_lang;
     int i;
     static char *buf[MAX_LANGS];
     static WnnClientRec *c_c_sv = 0;
-    static lang_step = 0;
+    static int lang_step = 0;
 
     if (c_c_sv != 0 && c_c != c_c_sv) {
 	ring_bell();
